<!doctype html>
<html lang="zh">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
        <meta name="generator" content="Hugo 0.88.1">
        <title>Headers · Bootstrap v5.1</title>
        {load href="__ADMIN__/css/bootstrap.min.css" /}
        {load href="__ADMIN__/css/theme.css" /}
        {load href="__ADMIN__/css/admin.css" /}
    </head>
    <body>
        <header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
            <a class="navbar-brand col-md-3 col-lg-2 me-0 px-3" href="#">Dins Admin</a>
            <button class="navbar-toggler position-absolute d-md-none collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search">
            <div class="navbar-nav">
                <div class="nav-item text-nowrap">
                    <a class="nav-link px-3" href="#">退出登录</a>
                </div>
            </div>
        </header>

        <div class="container-fluid">
            <div class="row">
                <nav id="sidebarMenu" class="col-md-2 col-lg-2 d-md-block bg-light sidebar collapse">
                    <div class="position-sticky pt-3">
                        <ul class="nav flex-column">
                            <li class="nav-item">
                                <a class="nav-link {$current_nav=='home'?'active':''}" aria-current="page" href="#">后台首页</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link {$current_nav=='system'?'active':''}" href="#">系统设置</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link {$current_nav=='user'?'active':''}" href="{:url('user/index')}">用户管理</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link {$current_nav=='group'?'active':''}" href="{:url('group/index')}">分组管理</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link {$current_nav=='document'?'active':''}" href="#">文章管理</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link {$current_nav=='product'?'active':''}" href="#">产品管理</a>
                            </li>
                        </ul>

                        <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
                            <span>扩展</span>
                        </h6>
                        <ul class="nav flex-column mb-2">
                            <li class="nav-item">
                                <a class="nav-link" href="#">微信小程序</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="#">微信支付</a>
                            </li>
                        </ul>
                    </div>
                </nav>

                <main class="col-md-10 ms-sm-auto col-lg-10 px-md-4">
                    {block name="main"}
                    <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
                        <h1 class="h2">Dashboard</h1>
                        <div class="btn-toolbar mb-2 mb-md-0">
                            <div class="btn-group me-2">
                                <button type="button" class="btn btn-sm btn-outline-secondary">Share</button>
                                <button type="button" class="btn btn-sm btn-outline-secondary">Export</button>
                            </div>
                            <button type="button" class="btn btn-sm btn-outline-secondary dropdown-toggle">
                                <span data-feather="calendar"></span>
                                This week
                            </button>
                        </div>
                    </div>
                    {/block}
                </main>
            </div>
        </div>
        {js href="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js" /}
        {js href="__ADMIN__/js/bootstrap.bundle.min.js" /}
        {js href="__ADMIN__/libs/layer/3.1.1/layer.js" /}
        
        {block name="script"}
        <script type="text/javascript">
            
        </script>
        {/block}
    </body>
</html>